import { axiosPost, axiosGet } from '../utils/axios'

//按模块监测统计
export function saveUserActionByModule(data){
  return axiosPost('/auth/visits/getModuleVisits', data)
}

//按用户监测统计
export function saveUserActionByUser(data){
  return axiosPost('/auth/visits/getUserVisits',data)
}

//获取所有模块
export function getAllModules(){
  return axiosGet('/auth/visits/getModuleList')
}